#pragma once

#include "clkHeader.h"
#include "clkMath.h"

struct clkBody
{
public:
	//attributes
	V2DF  m_pos;
	float m_rot;

	float m_mass;
	float m_iner;

	V2DF  m_lnVel;
	float m_agVel;
	float m_lnDamp;
	float m_agDamp;

	V2DF  m_lnFrc;
	float m_agFrc;
	float m_mxLnFrc;
	float m_mxAgFrc;

	//ctor
	clkBody()
	{
		m_pos = V2D_ZERO;
		m_rot = 0.0f;

		m_mass = 0.0f;
		m_iner = 0.0f;

		m_lnVel = V2D_ZERO;
		m_agVel = 0.0f;
		m_lnDamp = 0.0f;
		m_agDamp = 0.0f;

		m_lnFrc = V2D_ZERO;
		m_agFrc = 0.0f;
		m_mxLnFrc = 0.0f;
		m_mxAgFrc = 0.0f;
	}
};